Skip to main content

Interface: Plugin

Properties

conference

conference: Object

Type declaration

NameType
admit(payload: Omit<{ conferenceAlias?: string ; host?: string ; participantUuid: string }, "host" | "conferenceAlias">) => Promise<undefined | UnlockParticipantResponse>
breakout(payload: Omit<TopLevel, "host" | "conferenceAlias">) => Promise<undefined | { breakout_uuid: string }>
breakoutMoveParticipants(payload: Omit<{ fromBreakoutUuid?: string ; participants: string[] ; toRoomUuid: string }, "host" | "conferenceAlias">) => Promise<void>
closeBreakoutRoom(payload: Omit<{ breakoutUuid: string }, "host" | "conferenceAlias">) => Promise<undefined | BreakoutDisconnectResponse>
closeBreakouts() => Promise<undefined | BreakoutsDisconnectResponse>
dialOut(payload: Omit<TopLevel & { conferenceAlias?: string ; host?: string }, "host" | "conferenceAlias">) => Promise<Participant>
disconnect(payload: Omit<{ conferenceAlias?: string ; host?: string ; participantUuid: string }, "host" | "conferenceAlias">) => Promise<undefined | DisconnectParticipantResponse>
disconnectAll(payload: Omit<{ conferenceAlias?: string ; host?: string }, "host" | "conferenceAlias">) => Promise<undefined | DisconnectResponse>
emptyBreakouts() => Promise<undefined | BreakoutsEmptyResponse>
getCurrentRoomId() => Promise<string>
joinBreakoutRoom(payload: Omit<{ breakoutUuid?: string }, "host" | "conferenceAlias">) => Promise<void>
lock(payload: Omit<{ conferenceAlias?: string ; host?: string ; lock: boolean }, "host" | "conferenceAlias">) => Promise<undefined | LockResponse | UnlockResponse>
mute(payload: Omit<{ conferenceAlias?: string ; host?: string ; mute: boolean ; participantUuid?: string }, "host" | "conferenceAlias">) => Promise<undefined | MuteParticipantResponse | UnmuteParticipantResponse>
muteAllGuests(payload: Omit<{ conferenceAlias?: string ; host?: string ; mute: boolean }, "host" | "conferenceAlias">) => Promise<undefined | MuteguestsResponse | UnmuteguestsResponse>
muteVideo(payload: Omit<{ conferenceAlias?: string ; host?: string ; muteVideo: boolean ; participantUuid?: string }, "host" | "conferenceAlias">) => Promise<undefined | VideoMuteParticipantResponse | VideoUnmuteParticipantResponse>
raiseHand(payload: Omit<{ conferenceAlias?: string ; host?: string ; participantUuid?: string ; raise: boolean }, "host" | "conferenceAlias">) => Promise<undefined | BuzzParticipantResponse | ClearbuzzParticipantResponse>
requestParticipants(payload: Omit<{ conferenceAlias?: string ; host?: string }, "host" | "conferenceAlias">) => Promise<undefined | ParticipantsResponse>
sendApplicationMessage(payload: Omit<{ conferenceAlias?: string ; host?: string ; participantUuid?: string ; payload: Record<string, unknown> }, "host" | "conferenceAlias">) => Promise<undefined | MessageConferenceResponse | MessageParticipantResponse>
sendDTMF(payload: Omit<{ callUuid?: string ; conferenceAlias?: string ; digits: string ; host?: string ; participantUuid: string }, "host" | "conferenceAlias">) => Promise<undefined | DtmfParticipantResponse | DtmfResponse>
sendMessage(payload: Omit<{ conferenceAlias?: string ; host?: string ; participantUuid?: string ; payload: string }, "host" | "conferenceAlias">) => Promise<undefined | MessageConferenceResponse | MessageParticipantResponse>
setBandwidth(payload: number) => Promise<void>
setLayout(payload: Omit<{ conferenceAlias?: string ; host?: string ; transforms: Transforms }, "host" | "conferenceAlias">) => Promise<undefined | TransformLayoutResponse>
setRole(payload: Omit<{ conferenceAlias?: string ; participantUuid: string ; role: "guest" | "chair" }, "host" | "conferenceAlias">) => Promise<void>
setTextOverlay(payload: Omit<TopLevel3 & { conferenceAlias?: string ; host?: string ; participantUuid: string }, "host" | "conferenceAlias">) => Promise<undefined | OverlaytextParticipantResponse>
spotlight(payload: Omit<{ conferenceAlias?: string ; enable: boolean ; host?: string ; participantUuid: string }, "host" | "conferenceAlias">) => Promise<undefined | SpotlightonParticipantResponse | SpotlightoffParticipantResponse>
transfer(payload: Omit<{ conferenceAlias?: string ; destination: string ; host?: string ; participantUuid: string ; pin: string ; role: "host" | "guest" }, "host" | "conferenceAlias">) => Promise<undefined | TransferParticipantResponse>

events

events: Object

Type declaration

NameType
applicationMessageSignal<ApplicationMessage>
authenticatedWithConferenceSignal<{ conferenceAlias: string ; conferenceName?: string }>
breakoutBeginSignal<BreakoutRoom>
breakoutEndSignal<BreakoutRoom>
breakoutReferSignal<BreakoutReferDetails>
cancelTransferSignal<Record<string, string>>
conferenceStatusSignal<{ id: string ; status: ConferenceStatus }>
connectedSignal<undefined>
directMessageSignal<Message>
disconnectedSignal<{ error: string ; errorCode: ExtendedInfinityErrorCode }>
languageSelectSignal<string>
layoutUpdateSignal<LayoutEvent>
meSignal<{ id: string ; participant: InfinityParticipant }>
messageSignal<Message>
participantJoinedSignal<{ id: string ; participant: InfinityParticipant }>
participantLeftSignal<{ id: string ; participant: InfinityParticipant }>
participantsSignal<{ id: string ; participants: InfinityParticipant[] }>
presentationConnectionStateChangeSignal<{ recv: RTCPeerConnectionState ; send: RTCPeerConnectionState }>
raiseHandSignal<{ id: string ; participant: InfinityParticipant }>
stageSignal<Stage[]>
transferSignal<TransferDetails>
userInitiatedDisconnectSignal<undefined>

ui

ui: Object

Type declaration

NameType
addButton<K>(payload: K) => Promise<Button<K["position"]>>
addForm<P>(payload: P) => Promise<Form<P>>
addPrompt(payload: { description?: string ; opensPopup?: PopupRequest ; prompt: { primaryAction: string ; secondaryAction?: string } ; title: string }) => Promise<Prompt>
showForm<K>(payload: K) => Promise<MapFormReturn<K["form"][``"elements"``]>>
showPrompt(payload: { description?: string ; opensPopup?: PopupRequest ; prompt: { primaryAction: string ; secondaryAction?: string } ; title: string }) => Promise<string>
showToast(payload: NotificationToastMessage) => Promise<void>
togglePlugin(payload: { id: string }) => Promise<void>